<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>会员中心 - ${title}</title>
<link type="text/css" rel="stylesheet" href="/res/front/css/sytle/user-css/user_message.css" />
<#include "/front/head.html"/>
<script type="text/javascript"> 
	function check(){
		if(isNaN($("#wdam").val())||$("#wdam").val()==''){
			alert("请输入合法的提现金额!")
			return false;
		}
		
	}
	
	$(document).ready(function(){
		$(".blur").focus(function(){
			$(this).css({width:'204',height:'25',background:"rgb(255, 255, 204)",border:"1px solid rgb(198, 198, 158)"})
		});
		
		$(".blur").blur(function(){
			$(this).css({width:'204',height:'25',background:"rgb(251, 251, 251)",border:"1px solid #CCC"});
		});	
		
		$('#submit_inp').hover(function(){
			$(this).addClass("submit_inp2");
		},function(){
			$(this).removeClass("submit_inp2");
		});
	});
</script>
</head>
<!---------- 提现页面\ROOT\WEB-INF\front\member\twidrapp.html ---------->
<body>
	<!-- 头部 header.html -->
    <#include "/front/common/header.html"/>
    <!-- 中部 -->
	<div class="memeber_middle">
    	<div class="member_location_div">
            <span>
                <b><a href="/index.jspx">首页</a></b>&nbsp;>
                <b>资金管理</b>&nbsp;>
                <b>提现</b>
            </span>
        </div>
    	<div class="memeber_centre">
            <!-- 左边目录 -->
            <div class="memeber_left_nav_div">
            	<#include "会员中心页_导航.html"/>
            </div>
            <!-- 右边目录明细 -->
            <div class="member_right_detail_div">
            	<div class="twidrapp_div">
                	<div class="twidrapp_title_header"><b>提现</b></div>
                    <div class="twidrapp_table">
                    	<form action="${base}/member/o_twidrappSave2.jspx" method="post" onsubmit="return check();">
                            <table width="100%" cellspacing="0" cellpadding="5" border="0">
                                <thead class="pn-lthead">
                                   <tr>
									<th width="100%" height="25" bgcolor="#f6fbff" align="center">提现申请将会在1~3个工作日内处理完毕
										</th>
								</tr>
								<tr>
									<th width="100%" height="25" bgcolor="#f6fbff" align="center">当前账户可用金额:<span style="color:#da8b15;">${(entity.balance!0)?string.currency}</span>元
										</th>
								</tr>
								<tr>
									<th width="100%" height="25" bgcolor="#f6fbff" align="center">截止到今天, 您的待付充值手续费为:<span style="color:#da8b15;">${rechrageFee?string.currency}</span>元
										</th>
								</tr>
								<tr>
									<th width="100%" height="25" bgcolor="#f6fbff" align="center">提现业务将由第三方支付平台额外收取3元/笔提现手续费
										</th>
								</tr>
								<tr>
									<th width="100%" height="25" bgcolor="#f6fbff" align="center">
											<#if (entity.balance<=(3+rechrageFee))>
                    						当前账户可提现金额:<span style="color:#da8b15;">${0?string.currency}</span>元<br/>
                    						<#else>
                    						当前账户可提现金额:<span style="color:#da8b15;">${((entity.balance!0)-(3+rechrageFee))?string.currency}</span>元<br/>
                    						</#if>
									</th>
								</tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td height="45" align="center">
                                        	<span>提现金额：</span>
                                        	<input type="text" id="wdam" name="wdam" class="wdam_inp blur" id="wdam"/>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="45" align="center">
                                        	<span>提现密码：</span> 
                                            <input type="password" id="" name="tmember.withdrawpassword" class="password_inp blur" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" height="25">
                                        	<a href="${base}/member/v_tmemberToSecurity.jspx"><span style="color:#ff9900;">修改提现密码</span></a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" height="25">
                                        	<a href="${base}/member/v_tmemberbankcardList.jspx"><span style="color:#ff9900;">修改银行卡信息</span></a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="60" align="center">
                                        	<input type="submit" id="submit_inp" value="提交" class="submit_inp" />
                                        </td>
                                    </tr>
                                    <#if msg??>
                                        <tr>
                                            <td align="center">
                                                <h1>${msg}</h1>
                                            </td>
                                        </tr>
                                    </#if>
                                </tbody>
                            </table>
                        </form>
                    </div>
                </div>
            </div>
            <div style="clear:both;"></div>
        </div>
    </div>
    <!-- 底部 -->
	<#include "/front/common/footer.html"/>
</body>
</html>